<script type="text/javascript">	
	function enAble(idx,id,faceValue,operationCode,phoneType,code){
	jQuery.ajax({
		url:"${web_base}/recharge/supplier_denomination!enableRecharge.htm",
		data:"id="+id,
		type:"post"
	});
	
	$.post("${web_base}/recharge/phone_recharge!viewRecharge.htm?idx="+idx+'&r.faceValue='+faceValue+'&r.operationCode='+operationCode+'&r.phoneType='+phoneType+'&r.area='+code,
		{},function(data){
	    $("#div" + idx).html(data);
	});
	
    }	
</script>
<div style="width: 900px;margin:0 auto;border:1px solid #FFCC00;background-color: #FFFFF7">
<#if actionErrors??&&(actionErrors?size > 0)>
	<#list actionErrors as list>
		${list}
	</#list>
<#else>
	<span>账号</span>
	<span>接口名称</span>
	<span>账户端口</span>
	<span>区域代码</span>
	<span>运营商</span>
	<span>面值</span>
	<span>成本价</span>
	<span>挂接的系统产品</span>
	<span>操作</span>
	<#if  rechargeList??&&(rechargeList?size gt 0) >
		<ul>
		<#list rechargeList as entry>
		<li>
			<lable>${(entry.account)!}</lable>
			<lable>${(entry.interfaceName)!}</lable>
			<lable>${(entry.port)!}</lable>
			<lable>${(entry.areaCode)!}</lable>
			<lable>${(entry.operationCode)!}</lable>
			<lable>${(entry.faceValue/1000)!}</lable>
			<lable>${(entry.costPrice/1000)!}</lable>
			<lable>${(entry.systemProductId)!}</lable>
			<input type="button" name="btnAble" value="禁用"
			onclick="enAble(${idx},'${(entry.id)!}',${(entry.faceValue/1000)!},'${(entry.operationCode)!}','${(entry.phoneType)!}','${(entry.areaCode)!}')">
		</li>
		</#list>
		</ul>
	</#if>
</#if>
</div>
